import Vue from "vue";
import {
  Button,
  Timeline,
  TimelineItem,
  Layout,
  Sider,
  Header,
  Footer,
  Content,
  Col,
  Menu,
  Submenu,
  Icon,
  MenuItem,
  MenuGroup,
  Row,
  RadioGroup,
  Radio,
  BreadcrumbItem,
  Breadcrumb,
  Avatar,
  Divider,
  Table,
  Page,
  Input,
  Modal,
  Card,
  Switch,
  Message,
  Form,
  FormItem,
  Poptip,
  Collapse,
  Select,
  InputNumber,
  CheckboxGroup,
  Checkbox,
  Option,
  Upload,
  Panel,
  Tag
} from "view-design";

Vue.component("Button", Button);
Vue.component("Timeline", Timeline);
Vue.component("TimelineItem", TimelineItem);
Vue.component("Layout", Layout);
Vue.component("Sider", Sider);
Vue.component("Header", Header);
Vue.component("Footer", Footer);
Vue.component("Col", Col);
Vue.component("Menu", Menu);
Vue.component("Submenu", Submenu);
Vue.component("Icon", Icon);
Vue.component("MenuItem", MenuItem);
Vue.component("MenuGroup", MenuGroup);
Vue.component("Row", Row);
Vue.component("RadioGroup", RadioGroup);
Vue.component("Content", Content);
Vue.component("Radio", Radio);
Vue.component("BreadcrumbItem", BreadcrumbItem);
Vue.component("Breadcrumb", Breadcrumb);
Vue.component("Avatar", Avatar);
Vue.component("Divider", Divider);
Vue.component("Table", Table);
Vue.component("Page", Page);
Vue.component("Input", Input);
Vue.component("Card", Card);
Vue.component("Modal", Modal);
Vue.component("Form", Form);
Vue.component("FormItem", FormItem);
Vue.component("Poptip", Poptip);
Vue.component("i-switch", Switch);
Vue.component("Collapse", Collapse);
Vue.component("Select", Select);
Vue.component("InputNumber", InputNumber);
Vue.component("CheckboxGroup", CheckboxGroup);
Vue.component("Checkbox", Checkbox);
Vue.component("Option", Option);
Vue.component("Upload", Upload);
Vue.component("Tag", Tag);
Vue.component("Collapse", Collapse);
Vue.component("Panel", Panel);

Vue.prototype.$Modal = Modal;
Vue.prototype.$Message = Message;

import "view-design/dist/styles/iview.css";
